﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.IO;

namespace COFE.Web.Services
{
    /// <summary>
    /// Interface for services that enables Login, will return a cookie if success.
    /// </summary>
    [ServiceContract]
    public interface IUserServices
    {
        [OperationContract]
        [WebInvoke(Method = "POST", UriTemplate = "/signin")]
        void SignIn(Stream credentialStream);

        [OperationContract]
        [WebInvoke(Method = "POST", UriTemplate = "/signout")]
        void SignOut();
    }
}
